﻿@model PartyInvites.Models.GuestReponse
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Content/bootstrap-theme.min.css" rel="stylesheet" />
    <link href="~/Content/index.css" rel="stylesheet" />
    <title>RsvpForm</title>
</head>
<body>
<div class="panel panel-success">
    <div class="panel-heading">报名表单</div>
    <div class="panel-body">
        
       
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary()
            <div class="form-group">
                <label for="Name">姓名</label>
                @Html.TextBoxFor(m => m.Name,new {@class="form-control"})
            </div>
            
            <div class="form-group">
                <label for="Email">Email</label>
                @Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
            </div>
            <div class="form-group">
                <label for="Phone">手机1</label>
                @Html.TextBoxFor(m => m.Phone, new { @class = "form-control" })
            </div>
           
            <div>
                <label>你愿意接受邀请码？</label>
                @Html.DropDownListFor(m => m.WillAttend, new[]
                {
                    new SelectListItem {Text = "愿意，我会准时到达！", Value = bool.TrueString},
                    new SelectListItem {Text = "不愿意，我有其他安排！", Value = bool.FalseString},
                }, "请选择",new {@class="form-control"})
            </div>
            <div class="text-center">
                <input type="submit" class="btn btn-success" value="提交" />
            </div>
            
        }
    </div>
</div>
</body>
</html>
